package demo.ubicacion;

public class Point {
	int x, y;
	
	public Point() {
		x = 0;
		y = 0;
	}
	
	public Point(int x, int y) {
		this.x = x;
		this.y = y;
	}


	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}
	
	public String someMethod() {
		return "This is some method of the class " + this.getClass().getSimpleName();
	}
	
	public String someMethod(String param) {
		return "This is some method of the class " +  this.getClass().getSimpleName() + ", and the param is: '" + param + "'";
	}
}
